<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>管理</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <script src="../../../../lib/include.js"></script>

    <style>
        .form-control:focus,
        .single-line:focus { border-color: #0e9aef !important;}
        .checkbox-inline {line-height: 5px;}
        .search{ width: 25%;}/* 设置搜索框宽度 */
        .bars.pull-left {
            width: 700px!important;
        }
    </style>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content" id="app" v-cloak >
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="row row-lg">

                <div class="example" style="margin-top: -10px;">
                    <div class="btn-group" id="toolbar" role="group" style="width: 100%">
                        <button type="button" class="btn btn-outline btn-default" @click="update()" v-if="permission(1)">
                            <i class="glyphicon glyphicon-ok" aria-hidden="true"></i>
                            修改审核
                        </button>
                        <button type="button" class="btn btn-outline btn-default" @click="del()" v-if="permission(2)">
                            <i class="glyphicon glyphicon-trash" aria-hidden="true"></i>
                            删除
                        </button>
                        <div class="col-sm-3">
                            <select class="form-control" id="isCheckS" @change="reload()">
                                <option value="">-是否审核-</option>
                                <option value="1">已审核</option>
                                <option value="0">未审核</option>
                            </select>
                        </div>
                        <div class="col-sm-3">
                            <select class="form-control" id="isIndexS" @change="reload()">
                                <option value="">-是否首页显示-</option>
                                <option value="1">首页显示</option>
                                <option value="0">首页不显示</option>
                            </select>
                        </div>
                        <div class="col-sm-3">
                            <select class="form-control" id="type" @change="reload()">
                                <option value="">-类型-</option>
                                <option value="1">客户动态</option>
                                <option value="2">问答</option>
                                <option value="3">技师实拍</option>
                            </select>
                        </div>
                    </div>
                    <table id="bootstrapTableEvents"></table>
                </div>

            </div>
        </div>
    </div>

    <div class="modal fade" id="updatestatusModal" data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
                <form id="updatestatusForm" class="form-horizontal" autocomplete="off">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">&times;</button>
                        <h4 class="modal-title">修改审核</h4>
                    </div>
                    <div class="modal-body">
                        <div class="form-group">
                            <label class="col-sm-4 control-label">是否通过审核</label>
                            <div class="col-sm-8">
                                <select class="form-control" name="isCheck" id="isCheck">
                                    <option value="1">通过</option>
                                    <option value="0">不通过</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-4 control-label">是否首页显示</label>
                            <div class="col-sm-8">
                                <select class="form-control" name="isIndex" id="isIndex">
                                    <option value="1">首页显示</option>
                                    <option value="0">首页不显示</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-4 control-label">排序</label>
                            <div class="col-sm-8">
                                <input type="number" class="form-control" value="100" name="sort" id="sort" placeholder="请输入排序">
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        <button type="button" class="btn btn-success" @click="submit()">提交</button>
                    </div>
                </form>
            </div>
        </div>
    </div>

</div>

<script src="../../../../js/content-manage/dynamic/dynamic/list.js"></script>
</body>
</html>
